package com.ruoyi.merchant.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.db.domain.MerchantDataPushApibInfo;

/**
 * 半流程授权订单Service接口
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
public interface IMerchantDataPushApibInfoService 
{
    /**
     * 查询半流程授权订单
     * 
     * @param id 半流程授权订单主键
     * @return 半流程授权订单
     */
    public MerchantDataPushApibInfo selectMerchantDataPushApibInfoById(Long id);

    /**
     * 查询半流程授权订单列表
     * 
     * @param merchantDataPushApibInfo 半流程授权订单
     * @return 半流程授权订单集合
     */
    public List<MerchantDataPushApibInfo> selectMerchantDataPushApibInfoList(MerchantDataPushApibInfo merchantDataPushApibInfo);

    /**
     * 查询半流程授权订单列表
     *
     * @param merchantDataPushApibInfo 半流程授权订单
     * @return 半流程授权订单集合
     */
    public List<Map<String, Object>> selectMerchantDataPushApibInfoMapList(MerchantDataPushApibInfo merchantDataPushApibInfo);

    /**
     * 新增半流程授权订单
     * 
     * @param merchantDataPushApibInfo 半流程授权订单
     * @return 结果
     */
    public int insertMerchantDataPushApibInfo(MerchantDataPushApibInfo merchantDataPushApibInfo);

    /**
     * 修改半流程授权订单
     * 
     * @param merchantDataPushApibInfo 半流程授权订单
     * @return 结果
     */
    public int updateMerchantDataPushApibInfo(MerchantDataPushApibInfo merchantDataPushApibInfo);

    /**
     * 批量删除半流程授权订单
     * 
     * @param ids 需要删除的半流程授权订单主键集合
     * @return 结果
     */
    public int deleteMerchantDataPushApibInfoByIds(Long[] ids);

    /**
     * 删除半流程授权订单信息
     * 
     * @param id 半流程授权订单主键
     * @return 结果
     */
    public int deleteMerchantDataPushApibInfoById(Long id);
}
